PYTHON BASICS AND PYTHON CODING EXAMPLES: PROGRAMMING FOR BEGINNERS - 2 BOOKS IN 1 - PYTHON BASICS AND CODING EXAMPLES, A QuickStart Guide, Tutorial Book by Program Examples, In Easy Steps by TAM SEL & J KING
Author:TAM SEL & J KING [SEL, TAM]
Language: eng
Format: azw3
Published: 2020-08-08T16:00:00+00:00
Example-1: Program to print 1 to 10 using while loop
i= 1
#The while loop will iterate until condition becomes false .
While(i<= 10 ):
print(i)
i=i+ 1
Output:
1
2
3
4
5
6
7
8
9
10
Example -2: Program to print table of given numbers.
i= 1
number= 0
b= 9
number = int (input( "Enter the number:" ))
while i<= 10 :
print( "%d X %d = %d \n" %(number,i,number*i))
i = i+ 1
Output:
Enter the number:10
10 X 1 = 10
10 X 2 = 20
10 X 3 = 30
10 X 4 = 40
10 X 5 = 50
10 X 6 = 60
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Ada | Ajax |
Assembly Language Programming | Borland Delphi |
C & C++ | C# |
CSS | Compiler Design |
Compilers | DHTML |
Debugging | Delphi |
Fortran | Java |
Lisp | Perl |
Prolog | Python |
RPG | Ruby |
Swift | Visual Basic |
XHTML | XML |
XSL |
Hello! Python by Anthony Briggs(9584)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(9524)
The Mikado Method by Ola Ellnestam Daniel Brolund(9495)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8025)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7559)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7559)
Grails in Action by Glen Smith Peter Ledbrook(7455)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7285)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6175)
Kotlin in Action by Dmitry Jemerov(4816)
Windows APT Warfare by Sheng-Hao Ma(4729)
Layered Design for Ruby on Rails Applications by Vladimir Dementyev(4458)
Blueprints Visual Scripting for Unreal Engine 5 - Third Edition by Marcos Romero & Brenden Sewell(4280)
Hands-On Full-Stack Web Development with GraphQL and React by Sebastian Grebe(4143)
Functional Programming in JavaScript by Mantyla Dan(3852)
Mastering Python for Finance by Weiming James Ma;(2962)
Learning React: Functional Web Development with React and Redux by Banks Alex & Porcello Eve(2946)
Learning Java by Patrick Niemeyer & Daniel Leuck(2941)
Solidity Programming Essentials by Ritesh Modi(2845)